import { http } from '@/utils/http'

// 登录接口
export const loginAPI = (data: any) => {
  return http({
    url: 'login',
    method: 'POST',
    urlType: 'kaiwu',
    data: data
  })
}
// 登出接口
export const loginOutAPI = () => {
  return http({
    url: 'logout',
    method: 'GET',
    urlType: 'kaiwu'
  })
}
